/*
 * Copyright 1999-2017 Alibaba Group Holding Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package studio.raptor.sqlparser.dialect.postgresql.visitor;

import studio.raptor.sqlparser.dialect.postgresql.ast.PGWithClause;
import studio.raptor.sqlparser.dialect.postgresql.ast.PGWithQuery;
import studio.raptor.sqlparser.dialect.postgresql.ast.expr.PGBoxExpr;
import studio.raptor.sqlparser.dialect.postgresql.ast.expr.PGCidrExpr;
import studio.raptor.sqlparser.dialect.postgresql.ast.expr.PGCircleExpr;
import studio.raptor.sqlparser.dialect.postgresql.ast.expr.PGExtractExpr;
import studio.raptor.sqlparser.dialect.postgresql.ast.expr.PGInetExpr;
import studio.raptor.sqlparser.dialect.postgresql.ast.expr.PGIntervalExpr;
import studio.raptor.sqlparser.dialect.postgresql.ast.expr.PGLineSegmentsExpr;
import studio.raptor.sqlparser.dialect.postgresql.ast.expr.PGMacAddrExpr;
import studio.raptor.sqlparser.dialect.postgresql.ast.expr.PGPointExpr;
import studio.raptor.sqlparser.dialect.postgresql.ast.expr.PGPolygonExpr;
import studio.raptor.sqlparser.dialect.postgresql.ast.expr.PGTypeCastExpr;
import studio.raptor.sqlparser.dialect.postgresql.ast.stmt.PGDeleteStatement;
import studio.raptor.sqlparser.dialect.postgresql.ast.stmt.PGFunctionTableSource;
import studio.raptor.sqlparser.dialect.postgresql.ast.stmt.PGInsertStatement;
import studio.raptor.sqlparser.dialect.postgresql.ast.stmt.PGSelectQueryBlock;
import studio.raptor.sqlparser.dialect.postgresql.ast.stmt.PGSelectStatement;
import studio.raptor.sqlparser.dialect.postgresql.ast.stmt.PGShowStatement;
import studio.raptor.sqlparser.dialect.postgresql.ast.stmt.PGUpdateStatement;
import studio.raptor.sqlparser.dialect.postgresql.ast.stmt.PGValuesQuery;
import studio.raptor.sqlparser.visitor.SQLASTVisitor;

public interface PGASTVisitor extends SQLASTVisitor {

  void endVisit(PGSelectQueryBlock x);

  boolean visit(PGSelectQueryBlock x);

  void endVisit(PGSelectQueryBlock.WindowClause x);

  boolean visit(PGSelectQueryBlock.WindowClause x);

  void endVisit(PGSelectQueryBlock.FetchClause x);

  boolean visit(PGSelectQueryBlock.FetchClause x);

  void endVisit(PGSelectQueryBlock.ForClause x);

  boolean visit(PGSelectQueryBlock.ForClause x);

  void endVisit(PGWithQuery x);

  boolean visit(PGWithQuery x);

  void endVisit(PGWithClause x);

  boolean visit(PGWithClause x);

  void endVisit(PGDeleteStatement x);

  boolean visit(PGDeleteStatement x);

  void endVisit(PGInsertStatement x);

  boolean visit(PGInsertStatement x);

  void endVisit(PGSelectStatement x);

  boolean visit(PGSelectStatement x);

  void endVisit(PGUpdateStatement x);

  boolean visit(PGUpdateStatement x);

  void endVisit(PGFunctionTableSource x);

  boolean visit(PGFunctionTableSource x);

  void endVisit(PGTypeCastExpr x);

  boolean visit(PGTypeCastExpr x);

  void endVisit(PGValuesQuery x);

  boolean visit(PGValuesQuery x);

  void endVisit(PGExtractExpr x);

  boolean visit(PGExtractExpr x);

  void endVisit(PGBoxExpr x);

  boolean visit(PGBoxExpr x);

  void endVisit(PGPointExpr x);

  boolean visit(PGPointExpr x);

  void endVisit(PGMacAddrExpr x);

  boolean visit(PGMacAddrExpr x);

  void endVisit(PGInetExpr x);

  boolean visit(PGInetExpr x);

  void endVisit(PGCidrExpr x);

  boolean visit(PGCidrExpr x);

  void endVisit(PGPolygonExpr x);

  boolean visit(PGPolygonExpr x);

  void endVisit(PGCircleExpr x);

  boolean visit(PGCircleExpr x);

  void endVisit(PGLineSegmentsExpr x);

  boolean visit(PGLineSegmentsExpr x);

  void endVisit(PGIntervalExpr x);

  boolean visit(PGIntervalExpr x);

  void endVisit(PGShowStatement x);

  boolean visit(PGShowStatement x);

}
